4D Chart v13CT Draw rectangle |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D Chart v13
CT Draw rectangle
|
CT Draw rectangle ( area ; left ; top ; right ; bottom ; round ) -> Function result | ||||||||
Parameter | Type | Description | ||||||
area | Longint |
![]() |
4D Chart area | |||||
left | Real |
![]() |
Horizontal position of start (in points) | |||||
top | Real |
![]() |
Vertical position of start (in points) | |||||
right | Real |
![]() |
Horizontal position of end (in points) | |||||
bottom | Real |
![]() |
Vertical position of end (in points) | |||||
round | Real |
![]() |
Corner rounding amount (in points) | |||||
Function result | Longint |
![]() |
The new object's Object ID | |||||
CT Draw rectangle creates a new rectangle object in area and returns the new object’s Object ID. The object is positioned according to the left, top, right, and bottom coordinates.
round controls the amount of corner rounding in the new rectangle. If round equals zero, there is no corner rounding.
The following method draws a rounded rectangle in the chart area:
$Rect:=CT Draw rectangle(Area;5;5;200;200;5)
Product: 4D Chart
Theme: CT Objects
Number:
14559
Created: 4D Chart 1